package org.jeecg.modules.area.entity;

import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import java.io.Serializable;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

/**
 * <p>
 * 行政区域数据
 * </p>
 *
 * @author liujiamiao
 * @since 2020-11-18
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@TableName("sci_area")
@ApiModel(value="Area对象", description="行政区域数据")
public class Area implements Serializable {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty(value = "地区ID")
    @TableId(value = "sca_id", type = IdType.AUTO)
    private Long scaId;

    @ApiModelProperty(value = "地区名称")
    private String scaName;

    @ApiModelProperty(value = "父地区ID")
    private Long scaUpId;

    @ApiModelProperty(value = "父地区ID集合")
    private String scaUpIds;

    @ApiModelProperty(value = "父地区名称集合")
    private String ioaUpNames;

    @ApiModelProperty(value = "邮编")
    private String scaZipcode;

    @ApiModelProperty(value = "排序")
    private Integer scaSort;

    @ApiModelProperty(value = "地区层级")
    private Integer scaLevel;

    private String scaShortName;


}
